package com.software.sqlite.service;

import com.software.sqlite.entity.TbMenu;
import com.software.sqlite.entity.TreeEntity;

import java.util.List;

/**
 * Service
 */
public interface ITbMenuService {


    /**
     * 添加/修改
     * @param model
     * @return
     */
    boolean edit(TbMenu model);

    /**
     * 导入Excel
     * @param model
     * @throws Exception
     */
    void importData(TbMenu model)throws Exception;

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    void exportData(TbMenu model)throws Exception;

    List<TreeEntity> getMenuTree()throws Exception;

}
